![]() |
PATH![]() |
![]() ![]() |
Prepares a control to be drawn with a text color consistent with that of any controls in which it is embedded and with the current theme.
pascal OSErr SetUpControlTextColor (
ControlHandle inControl,
SInt16 inDepth,
Boolean inIsColorDevice);
Your control definition function may use the SetUpControlTextColor function inside a DeviceLoop drawing procedure to set a control's text color to coordinate with the current theme. Applications do not typically need to use this function.